package com.student.client.service;

import com.student.client.entity.StudentHealthy;
import com.student.client.entity.Vaccines;
import com.student.client.mapper.StudentHealthyMapper;
import com.student.client.mapper.VaccinesMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VaccinesService {
    @Autowired
    private VaccinesMapper vaccinesMapper;

    public List<Vaccines> findAllVaccines(){
        return vaccinesMapper.findAllVaccines();
    }

    public Integer addVaccines(Vaccines vaccines){
        return vaccinesMapper.addVaccines(vaccines);
    }
}
